package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-13
 * Time: 16:06
 */
public class Test5 {
    public static void main(String[] args) {
        String str=new String("HELL0 WORLD");
        str.replaceFirst("L","l");
        System.out.println(str);
        System.out.println(str.replaceAll("L","l"));

    }
}
